home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
151-175
/
scopedisk155
/
zkick
/
killzkick.asm
< prev
next >
Wrap
Assembly Source File
|
1995-03-19
|
555b
|
35 lines
*
* Zkick V2.10 -- Copyright (C) 1990 by Daniel Zenchelsky
*
* This program may be freely copied, as long as all copyright
* notices are left intact and unchanged.
*
SECTION code
XREF _ColdReboot
ExecBase EQU $4
;
; Offsets from ExecBase
;
KickMemPtr EQU $222
KickTagPtr EQU $226
WarmCapture EQU 50
CoolCapture EQU 46
ColdCapture EQU 42
move.l ExecBase,a6
move.l #0,ColdCapture(a6)
move.l #0,CoolCapture(a6)
move.l #0,WarmCapture(a6) ; Clear vectors and reboot
move.l #0,KickTagPtr(a6)
move.l #0,KickMemPtr(a6)
jmp _ColdReboot
END